<template>
	<div>
		<add-address-tag :addFlag="addFlag" :getNowAddress="getNowAddress"></add-address-tag>
	</div>
</template>

<script>
import AddAddressTag from "../../../real-components/AddAddress/AddAddressTag";
import {mapGetters} from "vuex";

	export default {
	  	name: 'hello',
	  	data () {
	    	return {
				msg: '这是新增地址页面',
	            page: "AddAddressTag",
	            componentName: "AddAddressTag",
	            dataList: [],
	            addFlag:false
			}
		},
		computed: {
			...mapGetters([
				"getDomTree"
			]),
			...mapGetters('zx',[
				"getaddFlag","getNowAddress"
			]),
		},
		components: {
	        "add-address-tag": AddAddressTag,
	    },
	    methods: {
	        getData() {
	        
				console.log(123456);
	        },
	        getEAFlag(){
	        	this.addFlag = this.$store.getters['zx/getaddFlag'];
	        	console.log(this.addFlag,666);
	        },
	    },
		created () {
			this.getData();
			this.getEAFlag();
		},
		mounted () {
			// initDomTree(this.getDomTree[this.page]);
			
		},
		updated() {
			//页面更新完毕
			// initDomTree(this.getDomTree[this.page]);
		}
	}
</script>

<style scoped="scoped">
</style>